package com.smart_campus.campus.service;

import com.smart_campus.bus.domain.Journal;
import com.smart_campus.campus.domain.NewsSchool;
import com.smart_campus.campus.vo.CampusCarouselVo;
import com.smart_campus.campus.vo.NewSchoolVo;
import com.smart_campus.sys.common.DataGridView;

import java.util.List;

public interface NewsSchoolService{


    int deleteByPrimaryKey(Integer articleid);

    NewsSchool insert(NewsSchool record);

    int tup(NewsSchool record);

    NewsSchool insertSelective(NewsSchool record);

    NewsSchool selectByPrimaryKey(Integer articleid);

    int updateByPrimaryKeySelective(NewsSchool record);

    int updateByPrimaryKey(NewsSchool record);

    DataGridView queryCarousel(NewSchoolVo  newSchoolVo);

    List<Journal> getHotNews();

    DataGridView selh(NewSchoolVo newSchoolVo);

}
